relay control by buttons in panel. closes #3