changed doAll method to update
refactored mainView and first creation methods
dded TestGameLoopGUI
additiont to clear dependant from gameloop on gui close