client: Delete elements when panel is destroyed

Save elements in a list and delete them on destruction.
While we're it we save element names in a set.

Issue: #122
client: Delay between shell changes

Avoid switching shells too fast.

Issue: #122
client: Set context property "view" with pointer not QVariant

Set the "view" context property to this.
No functional change, just make the code nicer.