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

A helping hand I hope, internal state variable is called status, not state.