Fixed typos as per issue #6 on google code