Add conditions to user preferences panel to check input on the panel, to
the current user preferences, so that the popup only occurs when there is
a difference between what's displayed  and what's stored for the user.
Merge pull request #49 from zoccihedron/fix-unsavedChangesPopup

User Preferences Popup fix