Improve PDF Generation UI

Added some improvements to the PDF generation loading screens. 
Created polling module for possible re-use.