#149 fix some javadoc and compiler warnings