Fix and clean-up admin widget template