Fixed thread to use the CRT _beginthreadex function instead of the CreateThread function
Also, added missing ShowSystem option