netlogo connection update

small change to make the code compatible with netlogo 5..04 and first
test of changes. netlogo example is updated to remove hard references.