Fixed ctypes error and load directly from PNG

Added ctypes import to fix an error on my machine.

Texture is now imported directly from PNG (removed base64 string code, including encode.py as it is no longer needed).