Event driven plot refresh added.