Progress on Printing Functionality added cleanup of temp directory