Fixing minor issues with gui.