IDEA-127185 Switcher throws exception and stops working

(cherry picked from commit a2b8c73c928c70f1d4069138b9f7c6c9da17177e)
IDEA-132363 NPE invoking recent searches with Darcula

(cherry picked from commit 8d4fd2ee02c9678a966171a39e0310063d412fa3)
Progress indicator may call invokeLater too often when in Presentation Mode
(cherry picked from commit 4442fec)
fix exception from bundle

(cherry picked from commit b17add6a6e34f1a042ec434df1cc55cd1ec18bf4)
force reload build project settings if bytecode target level settings change
fixing ChooseByNameBase assertions

* list update is requested
* bg thread is canceled, a new one is started
* then quickly a write action occurs
* old bg thread hasn't finished yet and receives that event and restarts
=> two bg threads at the same time, bad
(cherry picked from commit 68f44da)
CPP-975 "syntax error" on function-style cast of an expression to a primitive type

(cherry picked from commit 458583bcee8f32a35789fb881acbe82027d04686)