adding drawFunc batching..., added ImageState, drawfunc state stacks, cosmetics