Partially moved VM initialization into tasks;