Merge in Qcut

Merged in changes from Qcut site.