Use profile_exists for all functions in threads
Fixed a bug when profile_exists has no arguments
Updated the imports for events
Fixed a typo in managers.forms