improving support for inline widgets and updating readme