Fixed encoder.h header guard.
Changed header.size -> header.length silenced Makefile.
Fixed gcc-4.2 recommendation.
Fixed some spelling errors.