Link to static runtime library in Windows, disabled some warnings (CRT_SECURE_NO_WARNINGS)
Plugin objects are now allocated and deallocated inside the plugin, rather than the host program allocating and passing them to the plugin