build-shabam: Always add tips in sorted order.

This should hopefully help future debug.
build-shabam: Eliminate superfluous frame recursion.

We can pop the current frame when we've added all of the work to
handle both itself and its parents.