fix clone instructions
work around difference in VC/GCC/clang with filling vectors
add missing #include
make sure to read from the buffer in constructor
catch constructor exception
don't use flat set with old VC
remove unused decorator