Small fixes to templates and database.
Now sends all links involving neighbours; maybe it sends too many relations...
Graphs now do not insert a thousand million links.