This is somewhat working, see description

DB read write now works, but there are now older problems re-emerging.
Cootamundra does not want to plot. Need to work out why