Also truncate motion text in PHP app
Truncate at the right point to ensure length isn't more than expected
Change load order to match PHP app
Change indenting only so this is clearer
Ensure first word of minor headings is capitalised