refactor this a whole bunch, getting rid of globals and module-level code
this ppid_chain_for_file() actually works
tmux support
better "date" for unreleased version