Fix crash on multiple document loads

Removing the 'static' keyword allows the PSPDFKit window to be closed and then opened again later. It was crashing due to EXC_BAD_ACCESS