Added partly windows message loop
game loop not working