Split plugin editor into separate element.

Also fixed card flip effect.