Work on cleaning up texture loading and various other parts. Did serious work in Valgrind to clean up memory issues. Fixed various weird bugs.
Merged changes from other machine