remove trailing whitespace
add units to definition terms
unescape double quotes inside single quotes
remove additional lines, wrap at 80 chars