fixed bug where program would continue running upon closing the window.
you might want to check your running processes for instaces of gui...