added line deletion in table

some problems of threading display will occur
need to create a thread for graphics