Refactored texturing. Passing to renderer is kind of sane
More refactors
Passing texture atlas offsets to gpu
Need to fix null texture