Make embed preview button work. Closes #150.
Namespacing.