more work on contextual data; moved 'key' to the 'tab' attr in the command data, added URL and location, updated docs accordingly