made fancyPrint pause longer after longer grafs. replaced string-slicing with startswith().