Cleaned up a lot of code. Added command line file loading.

Added comments, and lots of general organization. Some refactoring of function names, mostly done in MemWnd.

Last argument is the path of the obj file to load.
Merge pull request #99 from rdnelson/ui_code_cleanup

Cleaned up a lot of code. Added command line file loading.