Governor: Texas gunman said he was going to shoot up school