qsub parallelization

This adds qsub paraellization, which is better for scheduling.

It also begins to address some of the portability issues (which we'll need later on, I'm pretty sure).