edits

edits. weird things happening with references not working any more and
with lots of strange temp files in the repository. don’t know how to
fix yet.