mostly just tidied up the code and put in the messages and gen_fatal in     place of the original code.
mostly just tidied up the code and put in the messages and gen_fatal in
    place of the original code.

WearableComputerLab/LibWCL,WearableComputerLab/LibWCL,WearableComputerLab/LibWCL,WearableComputerLab/LibWCL