Add button added to add additional rows to the grid. And small bugfixes.