use __main__ to implement bsez

this screws anyone who was using bsub to poll for jobs, but it's a lot more useful for me.