Windows build fixes. Added default values to the instances. Fixed layout setup