Ask before closing with ⌘Q and don't close but kill all buffers with C-x C-c.
scrap aquamacs support.