Fix/gui

Please review @mkurek.