some minor adjustment on snippet queue handling
some more documenation