Whole bunch of changes to the Motif client

I figured out that since I've got XQuartz installed on my Mac, I can
actually link and run X applications.  I managed to get the Motif
toolkit built and installed as well, so I've started working on the
Motif client.  Lots of changes, to begin incorporating the new C++
objects, though we're not out of the woods yet.  Lots more work yet
to be done.