Completed javadocs for all ui classes

Completed the javadoc comments for all the classes for which I was sole
contributor. Need to complete javadocs for other classes.