wait for app's activity to start automating, not just process started
Merge pull request #279 from jlipps/master

wait for app to start