Monitor Node now attached

Mad small change to Frame so that there is a working drain method.
Small cleanup to node and the like.

This small test simply shutsdown the program when the monitor sees
a frame twice. Now we need to add a shutdown mechanism.