Removing useless code from mainApp.py. Helps with pylint errors.