Fixed bug(s) with TicTacToe, changed TicTacToe to JDialog

Signed-off-by: Andrew <goobabtc@gmail.com>