V1.4

fixing annoying error when closing the window