Add: minor changes.
Add: a minor fix to Makefile.
Add: another minor fix to Makefile.
Add: a few minor changes for compiling on windows with mingw.
Add: minor improvements and fixings.