Fix/gui

Please review @mkurek.
how preloader works now?