Profiling stuff added to CMakeLists. SDL optimisations and fullscreen.
The SDL test code contains a nice example of an object hash.