Password checking, javadoc, bugs