Fixed row numbers to update after addition/deletion.

Starts from 0.
This should be an implementation detail of the task panel manager; why does the entire main GUI class need to be aware?