Combine open and openrange into open
Use a mutex group for arguments that can not be used together
Clean up submission_getter
Clean up random submission opening
Small fixes
Simplify main