nit: I'm used to have full sentences in comments because I find them more readable. e.g. "Handle event when a new chat window is ready." (with a capital and a full stop).