a few tweaks to get the widget working. more to come