use a 16K buffer when reading from fifo
fix warning
Editor::multi_select: reserve some vector space in advance
safe_ptr have no overhead when KAK_DEBUG is not defined