Added javadoc

Removed an extra '-' on some @param tags.
Fixed friends on passworded servers not showing

Added more javadoc.