Stability changes

If zoom is attempted but it cannot detect pixels, it tries again up to 3
times.
Various other logic tidies / improvements.