#149 fix some javadoc and compiler warnings

Tough luck!