st_window.go: use bufio.Scanner instead of ioutil.ReadFile