Fixed discrepancies related to latest pull and some constructor bugs on Textures