added stack history tracker.
removed ~file.