Fix pruning files
Update gitignores to ignore object files and all the other stuff.