Modify the lcs with gui for a Multi thread.

Ther lcs with gui Version 0.9 modified for a multi thread.