Fixed the issue with reloading a locked file while in Raw or Raw CellML view (closes #321).