make some of WidgetParser's constructor parameters optional

for ease of use from Tortoise