Fix #524, crudely, by removing all tickLabels on each render.

Clean up code and remove some extra nested "g"s while at it.
Add unit test to catch this issue in the future.
Update quicktest.
Update built files.