Work on annotation library.
Minor fixes to grid-lines and unit converter.