control the threading using a state machine

adds a menu entry for stopping the tracking
Merge branch 'master' of github.com:Krigu/Gaze

Conflicts:
	GazeBrowser/ui/BrowserWindow.cpp
fixes the wrong file endings (.hpp instead of .h)
"fix" some compiler-warnings