Making texture manager static (issue #16)