Modified Window.init() to use a bitmask
Split texture loading into classes by file type