Allow live preview session to live longer after a currentDocumentChange

Fix for #3970 

Keeps live documents open longer. Previously documents would close after a `currentDocumentChange` event. Also refactors how/when we update the StaticServer request filters.