Splitting window and scene
Removing unecessary include
Enabling mutex
Moving glClearColor