updated painter to be 2.1 compatible
release 1.0.2b