fixed obvious bugs in javadoc + minor formatting :lipstick: