import, adopt and upgrade xpaint
import, adopt, and upgrade xaw3d 1.5 -> 1.6.2