split up fill and stroke rendering, rename drawpath to main rendering. refactor program swapping