Made ready for debian packaging
Fixed very old and somewhat serious (with negative cutoffs) bug in Motif matching code