removed miter join & square cap of lines; simplified stroking for more performance