Changed PNG loader.

Found a nice crossplatform png loading api. So using that instead of the
ugly JNI binding api.