Removed troubling profiler event code and using Forge's events instead