Move crunching and request line rebuilding out of chat().