Replace types with QS constants

QS 1.2.0+ compatibility
Replace removed ESS macro.
Bumped version to 1.2.1