BUGFIX: Increase delay threshold. Added debug mode to P