Added twoPane layout. Not tested.