Fixed state machine, process manager bugs