Cleaning up some logic

Updated a docstring, made some cleaner style choices, fixed some person lookup logic.