Merge pull request #94 from Gaerzi/master

Sync with my fork.
Tweaked commonly used headers a bit, the biggest change would be removing the OpenGL headers from Main.h
Fix compilation with FTGL
Commenting and stuff
Mark archive as modified on entry sorting
Fixes for linux/gcc compilation
Fix for Windows compilation