Added pause on losing focus, some edits to depth and more.