Every time I get a new iMessage the app opens onto my desktop, which is really frustrating. I do use the app quite regularly but also use the computer to demo things and don't want colleagues to see my girlfriend letting me know that dinner is ready or something. I have 'when I quit messages set my status to offline' ticked in preferences.