Better Link behavior

Fixes usefulstacktrace so it doesn't always go to trackstack.js for other scripts' stack traces.