Modified MainGUI and Device