launcher: Move initialization of the grab mechanism to the `init_grab` function
launcher: Fix bug with keyboard grabbing on the nonexistent command execution