fixing compile errors, fixing bad start stop logic causing 2 starts required to start after finishing a run