Reworking the gui code. Added a GUI object after all. Working on pyglet view type.