add resbuf to docs
added debugging section about CYCLUS_DEBUG_DRE env var