This is definitely a consideration and a trade off. I don't advocate having a wood stove in this structure. I haven't done any tests for air quality. The polystrene isn't exposed that much on the interior.
But this is a really good question which applys to all structures that use this material.