Fixed text drawing. Program is complete