More functions, widget and TV functions, more fixes