Improved (Types.AppMode) and (Lib.showDoc)