Display stack traces and other fixes