Controls for population now.

Can't get sorting working properly yet.