Reworked GUI related stuff for better integration and fullscreen
support. No close function as of now (must kill process).