Finished fixing SpriteBatchItem class. As well as a few other cleanups.