Fixed some major bugs with starting processes.