Add docs
Set sticky bit properly on dir creation
Set initial rdebug level from debug_flag