Work on new Gui system. Code cleanup.
More work on the new Gui System. Re-implemented internal PacketHandler.