Getting a camera instance on a background thread

Getting a camera instance can take a long time. Now it is fetched by a worker thread instead.