Fix: Wx tests were failing when running in series.
Issue #506: Import warnings module if sys.warnoptions is set when starting frozen app.