Remove some logging.
Get rid of several class variables in MainActivity.