some improvements

added text position variation
fixed some bugs