Cleanup and some basic refactoring. [0]

The only real change was moving the static method
“scrollCountForScreen” out of JythonShell and into MenuScroller.