included new thread to superivise the button
with more memory, the GUI is displayed
Improved stopping of visualization thread
seperate command added to stop the visualization thread