misc doc stuff
add experimental find-loops command. convert some uses of vector to deque.