initial commit
rename methods to avoid conflicting with signal-slot convention
add .pdf extension while printing to a file