Backported globbing from master.
Backported RNG_MT19937 from master.
Merge pull request #796 from SpecLad:more-backports