GUI/texture refactoring