Locals int he tacebacks

Keep the locals for tracebacks (check they're pickable)