Fix some closure compile errors on gcc 4.7.3
Fix some typos in comments