Lots of clean up + 1.7.9 support!

Cleaned up a ton of stuff that either caused actual problems or just
plain looked ugly. Also upped the version number to 1.7.9 (stuff seems
to be working on that version - need to confirm)