[Port] changes for new texture mechanic and basic error removing