Added a #define so the GUI can be disabled