removed debug include
Made batching code less insane (should fix some performance problems too).