Detab and remove trailing whitespace.
Make bill widget embeddable via script.