Made sure to check editor activation before accepting submissions. Corrected error codes.