Added a link back to the main page.
Hooked the main-page-link in flashcards up to a javascript function so that it actually works.
Fixed some formatting.