Closing error fixed, added draw matching

1. Fixed excrption occur when closing the program
2. added done button to draw panel to analyze and get the name of
matched class
Bug found:
*Program still remains in process even after closing. This occurs if
matching has been carried out