Improving scanning SQUID techniques through numerical simulations, electronics optimization, and noise reduction