Fixed default value not being set for spinbox. Changed the default value of max subviews to 256.  Simplified the call signature to get settings & set an initial value.  Fixed missing settings for num_lights.