Removed call to update_content on editor deactivation
Enhanced compatibility for widgets created with 1.x versions
Added filter to hide empty widgets