As mentioned above, we carry a detailed response guide telling us and the emergency services what to do. The amount, type and location of the dangerous goods being known before takeoff.
And FE's, like me, are trained to fly the aeroplane (and land) it using the autopilot.
With regards to evacuation, there is always more than one escape path, i.e. cabin doors, cockpit windows.