Added dual pane and fixed a bunch of stuff