Version 1.2, fixed gui bugs when application is interrupted during
execution.