Updated particle cache detection with smarter directory detection, and added a new handler for dynGlobals nodes.