more tweaks to comint line wrapping