Implements the main menu in the GUI.

I had to modify a few things, but the logic should still be all
contained in bitfl.py, so the method calls are interface-agnostic.
Had to change a few things about menu.py too, but the CLI still
works.