implement stack, reverse order of some args, add finalizer and terminator helpers, add docs