Bug fixes for typos and 64 bit issues. Thanks Mike Fritch :-)
Authored by: jcarey 2007-08-20
Parent: [r481]
Child: [r483]