added prettytitle option which replaces underscores in some titles with spaces