Tweak errorInput style. Optimize a few dereferences.