Simple txt export added; removing bug fixed