fixed an issue related to the redefinition of wprintf. Ocurred while testing DeviceFonts example so I fixed that one also.