widget functionality
fixes

various fixes