Mirrored behnam's changes to client code

copied his code he posted an hour ago to the QT branch.
Modified communication base class to support QT signals

Pre-setup work to get Behnam's client code to output to QT.