Framerate changes on GUI. Hopefully fxed frameratethread sleeping forever