made BasicRender and TabularRender stuff heavily customizable such that one can pass through a callback for each html cell