Fixed minor UI bugs. Added notification of unsaved changes when changing settings on GUI.