Fixed whitespace and javadoc
Removed redundant synchronized closes, and dead code
Javadoc and whitespaces
Javadoc and whitespaces
Javadoc and whitespaces