various fixes
Merge https://github.com/lvandeve/lodepng

# By Lode
# Via Lode
* https://github.com/lvandeve/lodepng:
  various fixes

Conflicts:
	lodepng.cpp