Fix jython shell history bug. [1618]
Fix some typos and other little things. [0]