Oz, are you in the Bay Area? I wonder if a "pair programming" setup would work? By that, I mean 2 people tell each other what they're going to work on, then sit beside each other and work on it.
In my experience, the social context prevents the brain of having any notions of desertion. It'd be too embarrassing for either person to open up a youtube tab.