Fix options Advanced Usage on widgets

Primarily designed to make Advanced Usage options work in a widget, but also includes various formatting improvements.