Login item support - launch Atttach on startup
Replace deprecated alert sheet presentation code with new one.