ENH: Provide better error handeling via exception catching.
BUG: Order of variable checking was incorrect for MGHIO to be auto-detected.