Fixed card icons being wrongly displayed.
Started to implement clear plugin metadata.

Right now it doesn't care what your answer to the dialog is, I need to
event handle or promise that.