Filereader and window attributes

check texture sometime?