(Glitch Glide64 Mk2) Split up texture management code into separate file