Lattice distortions, incommensurability, and stripes in the electronic model for high-Tccuprates