These are a collection of issues found by the OU testers and reported to the OU bug-tracking system.
I am being a big lazy. and just creating one MDL issue for all these separate issues. I will try to describe the individual problems I am fixing in the separate commit comments for each fix.
(This is a follow-on from