Moved widget configuration into widget definition in localStorage.
Fixed minor problems.

SDUX-54