                         if event.shiftKey?      then ev.shiftKey        = event.shiftKey
                         if event.metaKey?       then ev.metaKey         = event.metaKey
                         if event.button?        then ev.button          = event.button
-                        if event.relatedTarget? then ev.relatedTarget   = event.relatedTarget[propName]
+                        if event.relatedTarget? then ev.relatedTarget   = event.relatedTarget.__nodeID
                         if event.modifiersList? then ev.modifiersList   = event.modifiersList
                         if event.deltaX?        then ev.deltaX          = event.deltaX
                         if event.deltaY?        then ev.deltaY          = event.deltaY

        #TODO: Need to have a "batch proces function".  Need to add "TagDocument"
        # TODO: clear needs to be able to be called on a certain document.
        @DOMUpdate = (params) ->
            processInstruction = (inst) ->
                # SPECIAL CASE
                # TODO: this is a quick hack.


module.exports = () ->
    nodes = new TaggedNodeCollection()

    dnodeConnection = DNode( (remote, conn) ->
        console.log "Connecting to server..."
