Reworked unsavedWorkNotice and exit to check each tab for unsaved work before exiting. Created the worst if statement ever conceived by man.