Added a Object recognition for each GUI. Create and Destroy the gui for ...

...each mouse event.