additional key "doc" (equivalent to key "help")
added support for doc recording
added doc dump capabilities