Fixed osx window width/height bug. Added counts to event enums.