Question: Are the initial values set in the pin configuration window reflected in the shadow registers?
No. Currently, there is no #define for the initial values of port pins set in the pin configuration window. The workaround is given below.
For PORT_X, which uses the ShadowRegs User Module (UM), manually initialize the Port_X_Data_SHADE variable by its initial value, which is set in the Pinout window.