Commit minor changes before changing the GUI