Thanks! Applied with some small fixups.
I think eventually would be nice to have this script just output mepolang
rather then open a separate window. That way stoptimes appear as part of a
pin's metadata in the UI - and frees the user from configuring $TERM.
Opened ticket for this:
https://todo.sr.ht/~mil/mobroute-tickets/5