Tweaking event names and trying to fix some bugs.
Fixed a bug where the client wouldn't recconect after a connection problem.