events, cursor, mouse detection in gui/windows