fix uninitialized variable.
cleanup.
Change ref by ptr on queue fields of queue_views so that the default constructors can be generated on MSVC.
force the use of lambdas when available on multi_thread_pass test.
fail test when exception cautch instead of rethrow it.