More consistent way of specifying the main stack in the proxy_layer

Initialize the main stack pointer in the proxy_layer's initialize is
more consistent with the way the other stacks work. It also at a layer
point allow the main stack pointer to be updated.