base64 and minor improvements in texture