Added win and lose message/popups/code