Added code to disable operation on an inactive view
 with '#' will be ignored, and an empty message aborts the commit.