Checking the box selects the whole column.

Also satisfy some compiler warnings.