Changed populate_listviews() back to an unbuggy-but-disgusting state.