Added SpriteBatch.getCapacity(). Minor changes.