BOSTON, MA—Andrew Dern spent the entire three hours of the Charles Playhouse's production of Hamlet wondering what would happen if he just got up on stage and walked around.