better schedulling (update running job states right before lauching). Added SIGINT handler