Yet another potential fix for mongo shutting down properly. Hope this works!
Changes to the database now mark the database as unchanged instead of the GUI. Scripts now will change the DB saved status properly.