Added logic to wait on stopping postgres until everything else was stopped.
Added status messages.wq