merged in updates collected by Roy Keene

These patches came from  http://kitcreator.rkeene.org/fossil/dir?ci=trunk&name=mk4tcl/patches/all