Improved sanitization

Widget bundle is now sanitising all fields and it performs sanitisation
before previewing a widget.