use NSPointFromCGPoint macro instead of manually casting
CGWindowListCopyWindowInfo docs say to release the window array
EventProcessing: rewrite window priority conditions

popup windows (contex menus) should always have event priority even if they belong to another process
we COULD intercect thw window rects, but we probably dont want to eat events destined for context menus
Agent: add a method to test if an event point intercects with the dock

quite a bit of horrible things here since there is no API to get what we need and screen visible rect doesnt seem to account for hidden docks even when the dock is exposed