Fix MSVC warnings

Fix your typical batch of MSVC warnings including picky type conversions and using "unsafe" std functions on pointers for iterators.

Merge request reports

Loading