Add text overlay textWidth() method
Auto-size load URL and file menu items in editModels and newEditEntities

And fix a couple of typos
Optimization and coding standard
Fix const
More consts
Merge pull request #3782 from ctrlaltdavid/20140

CR for Job #20140 - Add Overlays.getTextWidth