Cleaned up pe dialog.
Cleaned up dialogs
Cleaned up settings activity