fixes so the tests terminate correctly
improvements in option menu and action bar events.
big improvements in key detection for back and home key
Exception handling
better support for key handling