Performance tweaks

I'm testing some performance tweaks. If you want to compare the performance, look at the current 2.1.2.1 CPU usage, and redownload SINS.zip from the release page (still same version number), then let me know if there's any improvements.