singlepage export added and switch to using (some) properties

can export single page or multi page pdfs now and the UI variables are
now applescript properties which are preserved between script runs! yay!