fixed bug from last update to markup_beauty and corrected many flaws to api/prettydiff.wsf