Completely redone the gui system.

Completely redone the gui system. Going to make it fully event based.
Currently only the minimap and teh character stats are implemented.