Added sleep option to wait in conf

Also handles errors in print class better.
If job is aborted before a job has connected, it will now properly abort the job
Added sphinx documentation