Refinement and Catastrophe: A Theory of History