Communications now through Software Serial. Finite State Machine corrected