Updated schema to 1.3.0. Added encounter table to autogen templates. Fixed image context menues for removeing and  sending to new encounters. Ungrouped images are the only images used to compute new encounters.