Break out most of the initialization from process_main()
Break out most of the initialization from process_main()

process_main() is already too big.

mikpe/otp,tuncer/otp,lrascao/otp,bsmr-erlang/otp,getong/otp,RaimoNiskanen/otp,isvilen/otp,uabboli/otp,aboroska/otp,emacsmirror/erlang,saleyn/otp,dumbbell/otp,getong/otp,potatosalad/otp,dgud/otp,bjorng/otp,erlang/otp,ferd/otp,bsmr-erlang/otp,vinoski/otp,jj1bdx/otp,cobusc/otp,bsmr-erlang/otp,mikpe/otp,ferd/otp,dgud/otp,RaimoNiskanen/otp,dumbbell/otp,potatosalad/otp,ferd/otp,uabboli/otp,electricimp/otp,cobusc/otp,falkevik/otp,vinoski/otp,lrascao/otp,legoscia/otp,bjorng/otp,dumbbell/otp,RoadRunnr/otp,bjorng/otp,vinoski/otp,erlang/otp,uabboli/otp,jj1bdx/otp,mikpe/otp,isvilen/otp,RoadRunnr/otp,bsmr-erlang/otp,legoscia/otp,falkevik/otp,saleyn/otp,bernardd/otp,dgud/otp,aboroska/otp,erlang/otp,bjorng/otp,vladdu/otp,isvilen/otp,uabboli/otp,getong/otp,emacsmirror/erlang,lrascao/otp,aboroska/otp,electricimp/otp,dgud/otp,vinoski/otp,dumbbell/otp,rlipscombe/otp,vladdu/otp,saleyn/otp,jj1bdx/otp,tuncer/otp,emacsmirror/erlang,g-andrade/otp,lrascao/otp,ferd/otp,saleyn/otp,falkevik/otp,saleyn/otp,bjorng/otp,RaimoNiskanen/otp,bsmr-erlang/otp,getong/otp,falkevik/otp,emacsmirror/erlang,dgud/otp,bsmr-erlang/otp,jj1bdx/otp,rlipscombe/otp,lrascao/otp,vladdu/otp,kvakvs/otp,cobusc/otp,getong/otp,vinoski/otp,falkevik/otp,RoadRunnr/otp,kvakvs/otp,falkevik/otp,potatosalad/otp,isvilen/otp,rlipscombe/otp,vinoski/otp,dumbbell/otp,uabboli/otp,isvilen/otp,vinoski/otp,tuncer/otp,saleyn/otp,mikpe/otp,bernardd/otp,fenollp/otp,electricimp/otp,mikpe/otp,getong/otp,bjorng/otp,tuncer/otp,cobusc/otp,potatosalad/otp,dgud/otp,kvakvs/otp,aboroska/otp,isvilen/otp,mikpe/otp,uabboli/otp,ferd/otp,bjorng/otp,RoadRunnr/otp,bsmr-erlang/otp,vinoski/otp,fenollp/otp,rlipscombe/otp,dumbbell/otp,electricimp/otp,saleyn/otp,vinoski/otp,rlipscombe/otp,RoadRunnr/otp,RoadRunnr/otp,dgud/otp,bjorng/otp,RoadRunnr/otp,lrascao/otp,dumbbell/otp,emacsmirror/erlang,cobusc/otp,falkevik/otp,g-andrade/otp,kvakvs/otp,electricimp/otp,bjorng/otp,falkevik/otp,RoadRunnr/otp,rlipscombe/otp,ferd/otp,bsmr-erlang/otp,uabboli/otp,aboroska/otp,getong/otp,potatosalad/otp,emacsmirror/erlang,uabboli/otp,isvilen/otp,bernardd/otp,kvakvs/otp,erlang/otp,tuncer/otp,emacsmirror/erlang,getong/otp,potatosalad/otp,mikpe/otp,fenollp/otp,jj1bdx/otp,rlipscombe/otp,emacsmirror/erlang,bernardd/otp,bernardd/otp,tuncer/otp,isvilen/otp,lrascao/otp,saleyn/otp,dgud/otp,bsmr-erlang/otp,jj1bdx/otp,tuncer/otp,fenollp/otp,jj1bdx/otp,g-andrade/otp,potatosalad/otp,electricimp/otp,erlang/otp,erlang/otp,potatosalad/otp,bjorng/otp,mikpe/otp,electricimp/otp,aboroska/otp,potatosalad/otp,erlang/otp,mikpe/otp,falkevik/otp,legoscia/otp,electricimp/otp,vladdu/otp,cobusc/otp,fenollp/otp,uabboli/otp,legoscia/otp,legoscia/otp,RaimoNiskanen/otp,cobusc/otp,g-andrade/otp,electricimp/otp,bernardd/otp,aboroska/otp,tuncer/otp,saleyn/otp,RaimoNiskanen/otp,g-andrade/otp,ferd/otp,isvilen/otp,fenollp/otp,vladdu/otp,g-andrade/otp,vladdu/otp,lrascao/otp,vladdu/otp,rlipscombe/otp,fenollp/otp,rlipscombe/otp,rlipscombe/otp,legoscia/otp,bernardd/otp,ferd/otp,mikpe/otp,dgud/otp,kvakvs/otp,jj1bdx/otp,RaimoNiskanen/otp,erlang/otp,lrascao/otp,bernardd/otp,aboroska/otp,fenollp/otp,potatosalad/otp,g-andrade/otp,legoscia/otp,dgud/otp,g-andrade/otp,g-andrade/otp,cobusc/otp,getong/otp,jj1bdx/otp,emacsmirror/erlang,legoscia/otp,RaimoNiskanen/otp,erlang/otp,dumbbell/otp,ferd/otp,dumbbell/otp,fenollp/otp,erlang/otp,tuncer/otp,RaimoNiskanen/otp,getong/otp,aboroska/otp,legoscia/otp,emacsmirror/erlang,isvilen/otp,kvakvs/otp,kvakvs/otp,RaimoNiskanen/otp,vladdu/otp,jj1bdx/otp,dumbbell/otp,g-andrade/otp,bernardd/otp,kvakvs/otp,vinoski/otp,RoadRunnr/otp,vladdu/otp