file closed if magnetic wizard cancelled
file close wrapped in catch to avoid exception
calibration no longer alters binary mode register