Added cog popup. Can now convert TextElement to QueryElement.
Can now remove Elements from Collections.
changes.