Removed the close button.
Fixed an issue where the sort descriptors were not being saved to the shared user defaults controller, preventing them from restoring on application restart.
Moved max categories and attributes to use a property define.
Changed the user defaults such that the lists in preferences match what is displayed in the interface, before the user has added any custom options.
Submitting to allow sync

User state.