Fixed some bugs related to the GUI. Presets are working.