Changed behaviour of addrow to correspond with docs (return a row)
Renamed active_row to activerow