Fixed a bunch of flake8 style problems. More tests. Encounter tab populates correctly. Can delete encounters.