I was using total time instead of frame time for speed calculations
Oh and also had to add libm to lflags manually because SOIL needs it
Edited log a bit