Fix the InitSubmit bug.

Still plenty of printing for debugging
Merge branch 'InitSubmitBug' into develop