bug fix

bug fix for multiple spaces, reseting the page, and stop user from
guessing after already won