Code added to read stack trace of any given process. GUI is not updated yet.