started working on commands
added code to prevent certain actions while saving in progress