Major update on widgets and source codes