VS OutputDebugString doesn't support %hh* %ll*, so let vsnprint handle it then write a simple string to debug console.
The purpose of this is that its faster than writing logs to a file. (Only when debugging with VS tho).
This can be enabled by defining preprocessor: VS_TRACE_DEBUG
Added check on directory in Local_Storage::file_exists.
Added check in get_filenames_recursive if last char is the path separator (some use cases were adding a path separator even if there were already one).
In base.h, added check on s and r, that will avoid an out-of-range vector exception on Visual Studio, same for network.cpp.