Merge pull request #8362 from GerbilSoft/feature/string-optimizations.2019-09-11 Various string and other optimizations