delete nbestOut
delete m_latticeSamplesCollector
delete m_latticeSamplesCollector
move lattice sample collector from Main to IOWrapper
standardize GetIOWrapper().