BoardConfig: cleanup and restore randomly removed lines