Perform background commands on the requesting tab by default

This PR makes all commands in `BackgroundCommands` take the same arguments, and tweak the implementations to use the calling tab by default. Fixes #1160.