Altered javadoc to include valid HTML4 which is otherwise rejected by htmllint which is included into Java 8. Fixed bug with visibility scopes. Added some missing Javadoc.