More accurate nearest node

Also make Lazy Connect line a consistent colour no matter what node type
it is.