correctly reset, end, and close the token stream.  Fixes #4
update version number
specify java 1.5 for source and target