rename flash toggle to disableFlashMessages
make dispatchEvent public
remove old files