Removed a bunch of code from main.cpp to utils (startup,fps stuff) and LTexture.