Remove a lot of old, unused code
Fix some problems with scene and introduce draw changes
Remove some code, compilation succeeds

Now I just have to test if the changes work.
Fix a bug with deleting unallocated memory in imageset
Implement drawing triangles

They still don't draw with textures, and the points array doesn't
cull unused points. Still, it's progress!