Code improvements and implementation of the basic print / email jobs.