got events working better for windows