Stage one of GUIManager fix

Copied the previous version, still need to update the shop interface.