Documented code in demo
Fixed major sprite batch design flaw

Previously a possible memory leak when sprites were never removed from
the sprite batches.  That problem has been fixed.