organize imports
make LogDialog.log(String) public
remove unnecessary checks
fix non-final variables to final
setup JavaDoc