Widget.Expand, better function logging, bugfix