Text this: The genesis of Hamlet.