Defining limit of datapoints in queue to 500

Signed-off-by: Miguel M. Almeida <miguelcma@CMA-Retina.local>
_restoreSession event renamed to _resumeSession

Signed-off-by: Miguel M. Almeida <miguelcma@CMA-Retina.local>