[myDM CC]redefined globals, adjusted the header.  Removed void* to be ints, and made sure everything returns something in the worst case.