added population id and trait id arguments and hidden DOM objects for them..