Add checkboxes for marking ownership

Also some better layering of view code vs presentation stuff.