Merge pull request #7 from neoxygen/0.4

0.4 discovery debug logging & events