Added GuiDebug, some other tweaks, little things that were necessary.