added some of the more important recent changes (see git log for details)