The key detection in the companion is not working correctly as of the latest version and the tablet may also not be working quite right. The "Detect Key By: Chord Progression" logic also has a number of issues. I've been working on the code tonight and I have everything fixed in the companion, so I'll tackle transferring the code over to the tablet side tomorrow. You are correct that if {key} is not present, no key will be set (and it will default to C). This is not due to the detection failing though - just an oversight that caused me not to pass that detected key properly around the code as needed.
Thanks,
Mike
Thanks,
Mike