deploying -> pending, since that better conveys the state.
Clean up notices and errors, making them more consistent.