improved error handling for Tukey HSD
added filename output to Tukey pdf