Rewrite previous work section, add new references, update PDF

Some small fixes here and there as well.
Update .gitignore to avoid committing files by mistake.