a little more cleanup
added WIDGET_ID to History table in DB
widgets wrangling