Update xormsg.c

made slightly more tolerant, added usage dialogue & error out rather than segfault on bad usage ;P