Save character and job changes to the database, save the database contents when closing