minor enhancements for the units editor