finished self test off, added emergency shutoff, removed led test, rearranged pin constants