US543 Solving problem with breaks in care circs. Also improved logging.
US543 Refactoring around Submission status codes and recordMI
US543 More refactoring
Merge branch 'release' into development