added allnoteoff to clear all object when stopped.