changed statusbar when closing form.