Various fixes and tweaks to literals, both numeric and text.