Bug fixing

Connected events with a function to redo the population display list.
Fixed problems of using wrong offset to display populations.