Started implementing texture management.