netlogo connection, example, and some bugfixes