0.4.16: fixed button widget to work when template options are not present, set up 'self' properly in button and file widgets