Fix widget preview and embed codes.
Handle the case where there is no embed code id in the embed code
added permissions and menu cleanup
Merge pull request #22 from Jagadees-zyxware/master

Fix widget preview and embed codes.
Handle the case where there is no embed code id in the embed code.
Add permissions.