wait for launched app to load
addresses issue #1255