Pcbnew: Fix a crash on exit when an item was previously deleted. Fix not working footprint exchange functions