Trim down the calls to self.current in the set stroke dash array function.
Complain if we couldn't get memory for the dash.