Made the installer a lot faster on some OS-s; fixed repair mode