Improvements to LogicalDagWidget. Fixes #399, #473, #475, #476