Corrected SerialDataGateway to run stand alone if requested, as the original code was supposed to.