Moved LoginPanel into MainFrame and deleted LoginPanel. Added options dialog.