First pass at fetching.

Also myriad other niggles along the way.