some fixes in hardware testing tool
fix bug with incorrect fade command initialization
simple refactoring