Added self test to LogPrintStackStderr.py
Improved formatting.