Made RTGUI work