Added more comments to the code.  The UI now makes use
of the message returned by the API,