- fixes for some regression bugs
- allow the plugin to be embedded into a theme