fen & bugs

Added FEN support, now given a board, an FEN can be generated. Also an
input box containing the current FEN is displayed.
Fixed a bug that was causing duplicate variations