adjust ArmLibrary consants; allow debug control