Quicksort C implementation.

Other small updates.