fixed a couple bugs, added a utility function for verifying the system
is able to handle an intent before attempting to start an activity