Added generic_executor_ref, queue_base and queue views, fix some issues in executors.
fix loop_executor run_queued_closures issue.