add LICENSE.txt, only add/remove listeners if delay is set