Better GUI
Graphical user interface is working with 1D or 2D output
minor fix