Optimize mask-mode order for 8-bit characters with ?A
and fix some overlong lines.