Swap invalid turn alerts for popups

(and fix a small bug affective the first move)
Swap image based Github ribbon for CSS one