With regard to setting up the layout of windows in dynamic groups, you can change that by setf-ing the dynamic-group-master-layout of the dynamic group to one of :left :right :top or :bottom. This is a class allocated slot so it will change it for all groups. This can also be done by the command change-default-layout.
If you want to change this for a single head, you can use the command change-layout, which will change the layout for the current group and head to whatever layout you pass in. If you want this to persist through every group and through restarts you could define an after method for group-add-head which specializes upon a dynamic group and a head, and checks which head it is and changes the heads layout when appropriate using (setf (dynamic-group-head-layout group head) :right). I hope thats clear, i can provide more detailed explanation later if you wish. --sz