Adds two guard clauses for events in mutators and flyouts

  - When a block in a mutator window is deselected, it triggers a workspace
    changed event that will run after the workspace has been disposed of. These
    two guard clauses are early returns if the target workspace is null.

Change-Id: I392e27d8c192e78f9f9b9982692123e239f1db20