Add android workaround back, we do need it.

Also handle exit event -- if the user presses back, close the window.