Add printStackTrace to GUI