Added support for steam event and implemented chat message event. Also removed leak fixing code as it wasn't doing anything.

gotta fix dem leaks