Change keyQueue from the concatenation of keys to an array of keys
Remove unused variables and functions
Fix broken check to stop the options page from handling its own messages
Make keyQueue logging consistent