* Added shutdown confirmation on form close.