RMModel now cleans up properly when Mesh Preparation is cancelled

Fixes bug where the RMModel would not clean up properly if the mesh
preparation step was cancelled (either by error or by the user)