Added unload feature to unload current pdfs