made some optimizations to drawing lines/filling rects in tanky