Most people know the feeling well. You lie down, close your eyes, and suddenly your brain decides it's the perfect time to replay an awkward conversation from three years ago or run through tomorrow's ...