Fix for #77 #76

Can now have selected rows initially.