Fix some warnings
addded few comments
Fix copy/paste bug in y4m2png help.

This outputs PNGs, not Y4Ms.
First commit of logging code
Cleanup trailing whitespace

Conflicts:
	unix/Makefile
mingw32 fix (by brooss)
fix merge conflicts