maze: improved error messages. "maze -f" no longer seg-faults.