*the-end* dynvar, a per-build promise

- modified wait builtin to use