1.0 corrections

First set of fixes since release in production. It includes a new transition state of LSV/DD contracts "Waiting Mandate", and resolves a set of small issues.
</record> indentation.