mher: Fixed a bazillion NULL pointer errors...