whitespace fixes [1303]
Formatting and a couple new interactive functions. [1303]

This adds getLogLevel, setLogLevel, and editFile (as well as some
supporting Java methods).