minor corrections to documentation
removing unused method
catching more specific exceptions and
removing empty catch blocks