Added label text for genome stats and refactored code