Put in check for max-job0size on startup
First cut of further transactional integrity

Pgsql and Msgs added to scope