Collection of bug fixes, refactoring and improvements. In particular change to transformCoords() function to automatically use the appropriate unit and switch of credit
div opacity hover to a CSS3-based version.