Added define and pragma to prevent MS warnings about
deprecated functions.
Ignore various files created by Visual Studio