added javadoc to ThreadBlock interface, changed one method of it, and formatted many classes