v2: Keep some unrelated changes out, fix a buffer overflow, track whether context has been used to better implement wglShareLists although it's still not enough for some games which actually modify both contexts before sharing (we will need wglCopyContext).