Changed GameLoop

- Taken all changes from StaticLoop