Fixed Bugs with controls-window
added some more logging and exception catching