Changed the message format

The message format was changed from QString to QByteArray in slot
ProcessLine.  An overload processLine was defined in this mainwindow.cpp
Changed logValve and logLeak based on format change

Putted error code into log file (i.e. logValve and logLeak).  Deleted
the bool variables in processLine.