Factor Viewer from Editor + Editor readonly toggle
nearly _everything_ has a __class__ attribute
log curses errors better
whitespace
make the readonly check a method
replace the prompt/prefix mechanism with a readonly region
hack around an insufficiently explained situation

where we provide negative coordinates to w.move
Try to put the top of the popup buffer in the window
prettier output (with shorter lines, really)