adding warning about popup hell, fixig some game loops and offering opportunity to quit.