Fixed up return-value handling.

Performed some refactoring...

Fixed the strange event error... it was adding events to a dead socket.

Reformatted changlog

Added changelog

Fixed stack overflow issue. (Forgot to pop error/integer)

(0) -6 +6 +10 +30 +100 tip

mercurial