Turned off warnings on insecure functions, because they are non standard.
Changed from MS swprintf to standard swprintf.