Created a global tictactoe object

Took global objects off of Window and created a global tictactoe object.
Removed a few redundant variables.