>>Anything graphical or interactive
but ipython is already well integrated with matplotlib in the --pylab mode, and is pretty interactive. Thats how I use it.
re:saving state - its technically a nightmare, I agree. I though it might be possible at OS level - just dumping the whole process. There still would be issues of what to do with open files, network connections, etc, but somehow it seems that in many use cases that would be enough.