More fixes for earlier stupidness. Still writing cypher output as a
writeroutput *facepalm*