Better handling of relatively complex contents
Generate strings with formatted=false
Properly format the dimen references
Dumb copy-paste error from kcalc

It appears that perl does not like commas inside its numeric constants. Who knew?