Fixed png stuff. Changed library to use libpnp16.