Completed Hats organization functions in the GUI.