This is a cool project. I can't seem to get it running but I wish you the best. Here's an article on a GameState changer that uses SDL, if your interested.
http://gamedevgeek.com/tutorials/managing-game-states-in-c/
It's a neat and tidy way of making an engine.