Handle empty rows.
Fix compile.
Remove an unused control.