Modified debug print calls to not need an if statement.