added node colors
added better error handeling
added connection retry
increased version because of breaking change (connect event is now connected)