Debug to get the core to compile. Need two more control states.