Support for samplerCube

Also made changes to support multitexturing better, though it's a bit
shitty right now :P