Did some work on saving mark changes to the database.