Preferences +Multiple decks

Saves the last location of the flashcard gui.

Allows for use of multiple decks.