better error reporting and LED ordering fix