Upgraded AppLibDir.java to private, added isBad() method for checking instead of checking code directly