Updated files after compiling on MinGW32.

Also removed a bunch of dead comments.
Added license info headers.