Improved pegging for small quantities
Run engine in C-locale. Avoids misusing locale-specific functions in the application.

Conflicts:
	src/utils/library.cpp