#34: Added javadoc to recent code
Changed blocks to labels for text test.
#34: Fixed a bug that used the element's position as the mouse position
in events.