Step 3) Integrate codebases

The command and query widgets are now integrated in
separate CollapsibleButton frames, with appropriate
changes.