added notify flag
added flag cmd with completer
but cmd not yet implemented
added trace for debugging
implemented flagcmd for Locker