Warning output would remove user's print statements - this has been fixed.

Exactly as the title states: In the latest changes, warning output would remove user's print statements. This commit fixes this issue.