IDEA-107366 Messages.show... does not add an entity to modality state
(cherry picked from commit 324d128)
Better evaluation of Messages parent
(cherry picked from commit 04eb9e1)
IDEA-108419 Wrong parent for a message in a multiple frame case.
(cherry picked from commit a141ff9)
IDEA-108497 Git Commit Dialog: 'Code analysis' warning appears on the main window
(cherry picked from commit b1d7b0b)
IDEA-108568 Default value cannot be used in Messages with 'space' character on MacOS X
(cherry picked from commit 5a3f17e)
Use "Preferences -> Keyboard ->  Keyboard Shortcuts -> All controls" to enable space for messages.
(cherry picked from commit 6d54c3f)
IDEA-109656 "Confirm Exit" is shown twice; "Don't ask again" checkbox doesn't work.

+ huge code duplication has been eliminated
+ a couple of native crashes are resolved
(cherry picked from commit 4856789)
IDEA-110142 Invoking "invalidate caches' from welcome screen crashes IDE (on mac + java 6)
(cherry picked from commit dfca733)
Tiny improvment for IDEA-110142
(cherry picked from commit 543df6c)
IDEA-110357 MacOS 10.7.4, JDK 1.6.0_31: Crash on restart
(cherry picked from commit 303c9f0)
IDEA-109814 "Don't ask me again" on exit is not honoured
(cherry picked from commit 599237c)
JDK 6 update 6 does not have SunToolkit.getContainingWindow(c) method.
(cherry picked from commit d8ca269)