improve (though not 100% perfect) handling of region trim handles and mouse mode...