Recognize chord
Minor bugfixes