breaking api: changed Output() func.

I made it more generic. I had a need in production to call this
with not just a string, but with many parameters.
added variable GetStack depth