Added support for 'global' option

Allows users to request that key events happen even if the user is editing a text field or another type of input.