Some classes (e.g. texture, abstract TmxRenderer, etc.) have dependencies on SDL/GL/both when they shouldn't. Remove + improve.