Changed to threaded app.