Fixed the issue with OpenCOR crashing as a result of switching to the Raw view from the CellML Annotation view (closes #274).

Also slight improvement to our CoreEditing plugin.