Pcbnew: fix Bug #1391561 (PCBNew segfaults on BOM creation). Does not happen...
Pcbnew: fix Bug #1391561 (PCBNew segfaults on BOM creation). Does not happen on all platforms. Could be due to use of data just previoulsy deleted.
Very minor other changes.