This project wasn't written by me. All I've done is restructure it. It now has a single game loop rather than multiple forever loops.