Fix last selection event handling on shutdown in IdeCodeListener
Refactor IdeFindListener to do minimal job in UI threads
Refactor IdeDocumentListener and IdeProjectListener to do minimal job in
UI threads