partly fixed problem with gameloop thread interfering with GUI.