Add check when user leave fullscreen and unload the page and stop properly the RNG to avoid errors on the Raspberry pi.