Added debug code for minimap.
Added unicode to wchar pointer converter.