raedwards: Add Javadoc comments and fix majority of code audit flags. No change in functionality.