v. 4.0

rich text export; new preferences configuration; cleaner script