Stuff

Fix crashes, add broken widget code.

I'll work on this later, I don't have any good ideas how to implement it
ATM, apparently.