support for automatic character pairing with...

… Autopair sugar (see README).
Some little other refinements.