Removed multiple instances of getwchar()