Remove Tascii and replace with Tchar
Remove redundant extern declarations.
Merge pull request #2713 from yebblies/mtypecleanup

Mtypecleanup