Reverse class_exists logic for better performance
Code formatting as per WP Coding Standard
Clean up if statement logic
Cope with deleted users and WP changes to get_userdata()
I missed some code formatting, silly me