refacor due to new hardware. subpatcher gui work