Multiple fixes to make chunks work.
Removed EOL character from end of backtrace.