Little fixes, added post clip scaler and a couple of state queries.