added state machine state skipping, for testing/troubleshooting. It still needs to be tested.