added rudimentary debug window

Ignore-this: c6335df132e73150cbf9d2ff0ca8105

darcs-hash:20130327195530-c21fe-89cb388e861e159fb0b158a0f03e967654cbaece
switching to hashmaps for conection manager and postoffice

Ignore-this: 71882d0677075be9dc3a90850076101d

darcs-hash:20130327230004-c21fe-347b7407d3593ac9706440b6f7c7272ab9e4b498
added graphs for the message queus in the mailboxes

Ignore-this: aaf72a40482bb75a1f5b7f68e025edf0

darcs-hash:20130328223720-c21fe-458639b52cf19d2d5d8f8b60a7f0dc267b00860c
mailboxes now have stats struct

Ignore-this: 97d0b0a0ea3434a1486506304d6dad2c

maibloxes can now monitor themselves. This is used by the debug window
to show more accurate graphs. So instead of sampling the data, i can just
ask the mailboxes to keep stats.

The stats are turned on and off on demand.

darcs-hash:20130328225206-c21fe-eaa65781bcde73aa6709fa9c192325a6ac1b7bdd
added graph of main outside queue

Ignore-this: 4c6fb5bd4facb2972cc9e1426fd0747c

darcs-hash:20130329045811-c21fe-4fe21cd95f5262b330e2c8c00a390c34541d6d72
improved network performance

Ignore-this: 2806f1cb9331cff2e94967c3b98f1557

switched to use the asio engine's poll method instead of run_one.
improved performance dramatically. The graphs i made were useful.

darcs-hash:20130329050448-c21fe-aa14e5415b39ee4e0022e23775a97f5d58d743fa
reduced timer so that the UI is smoother for the draw demo

Ignore-this: 10b8f95fac8c67f505d6018a10d17ace

darcs-hash:20130329050901-c21fe-a859fb0704ce2e91c853d3a63cee623f19153fc9