changes to gameevents and debug logging