Oh, and added comment explaining the checkEnabled functions in the GUI