Move all of mbldialog.cpp to LEGACY_EXEC

The only externally-defined function in this file was in LEGACY_EXEC so the rest of the functions that it used were also moved into the LEGACY_EXEC block.
Merge pull request #235 from runrevfraser/refactor-syntax_unicode_idxarraytostr

Refactor syntax unicode idxarraytostr