Fixed memory corruption and memory leak. General cleanup. Added some OS-specific functions for handling files
Starting adding semi-fixed timestep stuff. Rewrote a bunch of iterators to use C++11 foreach syntax. Stubbed out client module code