Various updates to try and get the app to come up in a new tab.