Fixed some typos.  Made logging to Unity's console conditional.