Fixed bug with window tool and stack traces