Removing trailing spaces
Putting DynamicMeasure in its own file
showMeasure also works when using a permalink.