seperate UI and EyeTracking thread

flash widget not working properly yet.