added midi exit handler, awesome