d229 : some further bug fixes by Artifice (p.r. #149)