Fixed popup rendering
Fixed completion using plaintext

Also fixed a bit the popup view
Fixed search of the quicktexts in the popup
Fixed clicking on the element