added GUIPanelDict and logic