Recent Activity

* Added more specific error checking to Recent Activity Modules.
* Added addErrorMessage calls to push errors to the user where appropriate.
* Simplified logic in many loops (which is why a few big portions are shown as changed)
  * Removed redundant if statements that wrapped loops that checked if the list was empty before looping over it.
  * Moved try-catch statements that wrapped large sections of loops to only wrap the specific statements that could throw the exception.