#391: implement

This addresses #391. It disables the run button and menu run options if there is unsaved changes, and enables them when there is not.

@arjclark, please review.