Made the GUI system more system-independant