Ignore more build products
Remove unused variables
Update final and free counters