Fixed rest of texture problem. Closes #16