Detect the extra table

Don’t barf if there isn’t an extra table appended to the end of the file
Add manual tracking support, refactor plots
Add .gitignore
Merge branch 'manual-tracking'