updated graphs in debug window

Ignore-this: ba69974c71e9752cc986db3fae68d9a1

darcs-hash:20131206050051-c21fe-1f20e97c715bc75b51abf47ead87411f12e0c8db
added some asserts and bug fixes for connecting state

Ignore-this: a8a1ce7e53285174782c3ed33679ae0

darcs-hash:20131206050132-c21fe-37b3f7f5855ddb773e1821a2eab3bbbf31b34a9a