Initial working version, which seems to be compatible with previous documents using my old scavenged journal template.