Misc bug fixes, perf optimizations, AutoInstall Mode