Fixes for theme code
Misc
Cleanup to widgets code
Add missing files