added a multipass rendering framework, reworked m.ani.batch to use it.