Removed unused variables to fix warnings in test program.
Removed unreachable code.
Corrected internal documentation in source.
The parameter silent is no longer optional.
Corrected return value to be of correct type.