Added player lives, switched to deterministic random number generator.

Also enabled flixel debug overlay, app exiting and linked all game states properly.