fixes for compilation with Visual Studio and some usage docs