Replace use of $stdin.gets with UI.gets
Merge pull request #1680 from carsonmcdonald/stdingetstouigets

Replace use of $stdin.gets with UI.gets