Minor changes to fix some small rendering issues and use slightly less unnecessary memory.
Adding support for multiple distinct atlases and smoothing.