Added another half a second before trying to switch to xbmc. More reliable in returning to it after emulator closes for my older computer.