add javadoc for public fields
tiny cleanup
improve dialog layout a bit