Changed it so that parameters to widgets are only synced if they contain
a value.  This prevents the issue where default values for widget
parameters were being overwritten with undefined.