the rest of bugs fixed in adding widgets and others; some debug notes