declare choose_tmpdir
some FIXME removal

this removes some FIXMEs
there are a few remaining but they are deeper issues
we should probably file bugs for these during submission