Added error handling for all gamemode events