Some initial code for PNG support. Not done yet.
Support PNG screenshots. PNG and ZLIB are an optional dependency, and can be enabled with USE_PNG=1 in cmake.