Rebooted gitignore.
Minor cosmetic changes and old code removal