Several little bug fixes and const fixes for values; add spellingOf for words.