Formatting fixes, et al.

This PR:
* Makes PEP8 fixes
* Removes extraneous whitespace
* Works on platform cross-compatibility
* Refactors the main menu
* Works on Python 3.0 compatibility