clean things up some

constrain patternLength to 16 steps in runPattern(), remove
deviceInfo(), unused variables/functions/comments