Cleaning up the error output of MainActivity.java
As requested by @cpeterso.
Merge pull request #394 from tamcap/master

Cleaning up the error output of MainActivity.java