Add support for release channels and custom server args.
Fix checking for process state.