Changed from wchar_t to char and some other shit.