initialize vshell before starting threads