Bug fixes & improvements, added texture object