updated code for toolwindows (thx Kotlin team)
completion update