improved error catching in SIMUXCR, Master View controller. cleaned up some code