Same as in Master, not as serious as it looks

fixes Find… highlighting, improves the "manage text width" bit, and
gets rid of a lot of crusty comments and nslogs