stop clobbering native python buffer type and improvements to global param settings