Better computing of sources number
Move looping logic to Z80 (Accurate emulation and generated JavaScript not working)