removed superline, simplified painterpath code