Moved around unsaved_changes to be called any time an input table is saved.
Confirmed working save status and DB integrity.  Closes #94