Implementing the mathematically optimal O(N2/3 ⁄ log2 N) Meissel-Lehmer algorithm. Runs in a background Web Worker so the UI stays smooth and trackable!