Convert main window to use layout code.

* Use layout code
* Rework archiving/unarchiving in a way that makes more sense by making
the FListView and FTextView archivable.
* Replicant correctly instanciates in BShelfer now. However the popup
menu still crashes it and the scrollbars don't update properly.