Change an assert in unregisterSocket to match unregisterTimer
- return safely if the id/event is not found instead of asserting
Re-enable timeout option in EventLoop::exec()
Removal of iostream/std::cout calls and all my debugging printf()s

Code re-formatting to match original indentation style and minor
prettifications