Finish your PR for inputs stealing keyboard focus

Your solution is great! I’ve cleaned it up, and fixed all quirks.

Note: The diff is pretty messed up, since a lot of new commits in the develop branch show up here. Only look at the last one ;)