Fix a few minor typo's in state changing, prevents proxy mode from launching.