Changes to PeekNextEvent to better support 0 timeouts; made EventAvail return immediately if no event is available
Created a TODO macro.
It takes effect in debug builds only and prints a message only the first time its code path is reached.
Added a FileDescriptor class to wrap objects returned by open(), socket(), etc.
Fixed a possible file descriptor leak in the FileMapping constructor as well.
Made todo messages more informative