consolebuffer.py: better name for a function, added exception in the mainloop to the example

darcs-hash:20081107123544-b2873-d62931c2642a1af45f7ed857c5a00def7c481693