Added a process dialog and a base activity that employs it;