Stop when activity fails to show up

Fix targetActivity name in debug message
Log when an object is found
Update gitignore
Fix #371