javadoc, p4 tech doc and minor changes