Fix threaded handlers initialization, cleanup
move cursor drawing to guihandler
move fps counter to guihandler