fixed issue with cutting off of long names in pdf export + minor changes