Clean Up State Machine

The tabs for the state machine layers can get out of hand. Now that listeners and inputs are underneath the state machine, the layers for the state machine could be a vertical list where the listeners and inputs used to be. The list of tabs already has the overflow menu that converts them into a vertical list.