listen for app_launched events and relayout new app windows