Fixes for initialization sequencing.
Check for wpsc_action in addition to checking for DOING_AJAX