Split Pane module into separate files

The original was unwieldy and difficult to navigate while working on it.

Based on #273, that would need merging first.
That didn't work the first time I tried it but I don't remember exactly why.