add: scripting support for sprite init functions
oops: const correctness
add: texture loading helpers