Better output, can now control how long sleeping occurs for, proper exit code handling