Fixed a GraphicsSystem cleanup bug, add texture loading functionality