Hamlet's advice to the player. Shakespeare could be giving his own advice here Or giving his personal perspective.
1845 is when he wrote the raven
The term for words such as after, before, following, and then would be "conjunctions". If you're having trouble remembering this just think about how they "join" at a "junction" two different parts of a single sentence.