Cross platform makefile. Consolidated kqueue operations with updateEvent(). Improved Ctrl-C handling