fixed missings references in themes, fixed typo in site-edit, added patch to remove null from categoryid