GUI updated

fixed dealing bug, implemented a check for winner, updated button
behaviour