Some beginning work in textures. TextureContext isn't finished.

Signed-off-by: Silver Phoenix <silver.phoenix99@gmail.com>
Fixed a few finalizers.

Signed-off-by: Silver Phoenix <silver.phoenix99@gmail.com>