Improved game loop. Fixed bugs. Worked on procedual textures