noise: Throw exception on noise allocation failure
Merge commit '25945dc' into stable

Conflicts:
	src/noise.cpp
fix: dont change mg params
Merge remote-tracking branch 'origin/stable'