further work on dragging, still bugs in making connectors