Added code to populate the QListView's with existing mods, and moved some functions around.