Pull over reasonably transferable bits from kreg

Hi @thorinmesser 

We'll see if we did the pull request right. I've only done them on shared private repos before.