Corrected source code format for Java 1.5 support.  Corrected typos.