PBS plugin now waits for job to be fully executed (instead of waiting for it to launch)

Probably needs some major clean-up (it's been a while I wrote anything in Java). Hope this is useful.