Fixed some problems with starting proceses.