Make fixes to enable specifying multisamples

Change behavior of multisampling defaults to allow specifically
setting the number of samples to use (instead of boolean on or off).