Removed old template source code.
Fixed flashcard simulator.