Misc improvements

Hi @arnested - here are some fixes that make sense to me. I started off by wondering if bug-reference-github was contributing to slow reopening of closed buffers (e.g. via desktop.el) which I was observing, and that led me to make a few tweaks.

Cheers!

-Steve