Gondos, thanks for the commits, I've been looking forward to this for a while.
I currently can't get anything to run on my system without a core dump. It looks like the OGLTexture pointer tex is alway NULL in my case, here's a coredump trace:
(gdb) bt
#0 SurfTile::Render (this=0x55aec0a645c0)...