Implement UI form-based logic.

Allow for tabbing, alt-tabbing and return/enter key functionality when there is a form to be filled out - ie. login form, or other such elements that can be moved between by the user.