0.1.0.15,xwinreg: some changes in the main section: modified loops and _build_layout()