Add GUI.
Add support for continious drawing.
Reorganisation
Integrated interface
Fix
Recognizes 3-4 patterns
use layout in matrixDialog