Commit for the weekend. Changed functionality of the save and commit button as well as being able to save to the current document.