Factor out some code in osmain
Factor out some code in osmain

mdibaiee/servo,AnthonyBroadCrawford/servo,Aalhad/CanvasRenderingContext2DMozilla,AnthonyBroadCrawford/servo,eddyb/servo,Shraddha512/servo,dmarcos/servo,j3parker/servo,juzer10/servo,Adenilson/prototype-viewing-distance,larsbergstrom/servo,rentongzhang/servo,rixrix/servo,Shraddha512/servo,mukilan/servo,dati91/servo,CJ8664/servo,emilio/servo,bfrohs/servo,fiji-flo/servo,peterjoel/servo,larsbergstrom/servo,aweinstock314/servo,jgraham/servo,GreenRecycleBin/servo,srbhklkrn/SERVOENGINE,RenaudParis/servo,youprofit/servo,splav/servo,CJ8664/servo,echochamber/servo,vks/servo,boghison/servo,DominoTree/servo,aidanhs/servo,walac/servo,runarberg/servo,g-k/servo,Shraddha512/servo,peterjoel/servo,meh/servo,jgraham/servo,pgonda/servo,nick-thompson/servo,bjwbell/servo,dmarcos/servo,peterjoel/servo,pyecs/servo,bhearsum-bors/servo,zhangjunlei26/servo,anthgur/servo,mattnenterprise/servo,paulrouget/servo,karlito40/servo,saratang/servo,upsuper/servo,evilpie/servo,youprofit/servo,dsandeephegde/servo,jimberlage/servo,SimonSapin/servo,bhearsum-bors/servo,akosel/servo,jimberlage/servo,sadmansk/servo,dvberkel/servo,dagnir/servo,rentongzhang/servo,dhananjay92/servo,notriddle/servo,tafia/servo,echochamber/servo,splav/servo,hyowon/servo,boghison/servo,wartman4404/servo,peterjoel/servo,srbhklkrn/SERVOENGINE,mrobinson/servo,fiji-flo/servo,dmarcos/servo,s142857/servo,zhangjunlei26/servo,dati91/servo,RenaudParis/servo,GyrosOfWar/servo,paulrouget/servo,mbrubeck/servo,dvberkel/servo,dsandeephegde/servo,canaltinova/servo,brendandahl/servo,tafia/servo,ConnorGBrewster/servo,runarberg/servo,boghison/servo,splav/servo,splav/servo,aidanhs/servo,froydnj/servo,jlegendary/servo,pyfisch/servo,SimonSapin/servo,pcwalton/servo,steveklabnik/servo,huonw/servo,dhananjay92/servo,seanmonstar/servo,mt2d2/servo,notriddle/servo,karlito40/servo,wartman4404/servo,chotchki/servo,jimberlage/servo,vks/servo,michaelwu/servo,notriddle/servo,juzer10/servo,anthgur/servo,dvberkel/servo,szeged/servo,juzer10/servo,canaltinova/servo,jdramani/servo,mattnenterprise/servo,anthgur/servo,youprofit/servo,SimonSapin/servo,youprofit/servo,avadacatavra/servo,tschneidereit/servo,Adenilson/prototype-viewing-distance,nick-thompson/servo,upsuper/servo,splav/servo,DominoTree/servo,bjwbell/servo,caldwell/servo,DominoTree/servo,mattnenterprise/servo,bfrohs/servo,indykish/servo,nerith/servo,froydnj/servo,chotchki/servo,rentongzhang/servo,echochamber/servo,mrobinson/servo,A-deLuna/servo,ryancanhelpyou/servo,rixrix/servo,snf/servo,j3parker/servo,dati91/servo,deokjinkim/servo,pyfisch/servo,deokjinkim/servo,vks/servo,indykish/servo,juzer10/servo,michaelwu/servo,peterjoel/servo,snf/servo,anthgur/servo,michaelwu/servo,mdibaiee/servo,jimberlage/servo,splav/servo,pyfisch/servo,rixrix/servo,upsuper/servo,tafia/servo,cbrewster/servo,nerith/servo,eddyb/servo,karlito40/servo,KiChjang/servo,indykish/servo,SimonSapin/servo,saneyuki/servo,Shraddha512/servo,caldwell/servo,sadmansk/servo,codemac/servo,meh/servo,cbrewster/servo,avadacatavra/servo,boghison/servo,SimonSapin/servo,GyrosOfWar/servo,rnestler/servo,jgraham/servo,jdramani/servo,dagnir/servo,runarberg/servo,owaspjocur/servo,bjwbell/servo,paulrouget/servo,notriddle/servo,codemac/servo,rixrix/servo,Shraddha512/servo,evilpie/servo,rentongzhang/servo,jlegendary/servo,pyecs/servo,indykish/servo,GreenRecycleBin/servo,samfoo/servo,deokjinkim/servo,rnestler/servo,dvberkel/servo,nnethercote/servo,KiChjang/servo,szeged/servo,zentner-kyle/servo,michaelwu/servo,tschneidereit/servo,nnethercote/servo,upsuper/servo,wpgallih/servo,j3parker/servo,dsandeephegde/servo,KiChjang/servo,hyowon/servo,mattnenterprise/servo,ruud-v-a/servo,ConnorGBrewster/servo,mdibaiee/servo,caldwell/servo,avadacatavra/servo,emilio/servo,froydnj/servo,runarberg/servo,hyowon/servo,huonw/servo,CJ8664/servo,tschneidereit/servo,GreenRecycleBin/servo,aweinstock314/servo,evilpie/servo,nnethercote/servo,nick-thompson/servo,emilio/servo,s142857/servo,sadmansk/servo,youprofit/servo,shrenikgala/servo,pyfisch/servo,huonw/servo,CJ8664/servo,tempbottle/servo,huonw/servo,A-deLuna/servo,srbhklkrn/SERVOENGINE,mrobinson/servo,dhananjay92/servo,fiji-flo/servo,rixrix/servo,pyecs/servo,mt2d2/servo,steveklabnik/servo,paulrouget/servo,vks/servo,ConnorGBrewster/servo,pgonda/servo,huonw/servo,rnestler/servo,brson/servo,caldwell/servo,szeged/servo,g-k/servo,indykish/servo,canaltinova/servo,GreenRecycleBin/servo,zentner-kyle/servo,pcwalton/servo,DominoTree/servo,mt2d2/servo,sadmansk/servo,KiChjang/servo,pyecs/servo,larsbergstrom/servo,wpgallih/servo,jdramani/servo,codemac/servo,bhearsum-bors/servo,deokjinkim/servo,kindersung/servo,codemac/servo,szeged/servo,peterjoel/servo,KiChjang/servo,nick-thompson/servo,mdibaiee/servo,kindersung/servo,srbhklkrn/SERVOENGINE,tempbottle/servo,RenaudParis/servo,meh/servo,sadmansk/servo,kindersung/servo,mukilan/servo,tempbottle/servo,hyowon/servo,juzer10/servo,GyrosOfWar/servo,avadacatavra/servo,wpgallih/servo,dagnir/servo,luniv/servo,samfoo/servo,saneyuki/servo,mattnenterprise/servo,jdramani/servo,dagnir/servo,jdramani/servo,WriterOfAlicrow/servo,A-deLuna/servo,luniv/servo,mt2d2/servo,indykish/servo,aidanhs/servo,dati91/servo,froydnj/servo,jlegendary/servo,pgonda/servo,mt2d2/servo,snf/servo,indykish/servo,pyfisch/servo,wpgallih/servo,dmarcos/servo,jdramani/servo,hyowon/servo,ruud-v-a/servo,pyfisch/servo,seanmonstar/servo,jlegendary/servo,ruud-v-a/servo,dsandeephegde/servo,szeged/servo,srbhklkrn/SERVOENGINE,luniv/servo,brendandahl/servo,cbrewster/servo,evilpie/servo,jlegendary/servo,larsbergstrom/servo,j3parker/servo,nerith/servo,zhangjunlei26/servo,shrenikgala/servo,samfoo/servo,saneyuki/servo,jlegendary/servo,chotchki/servo,bjwbell/servo,WriterOfAlicrow/servo,mukilan/servo,zhangjunlei26/servo,cbrewster/servo,hyowon/servo,thiagopnts/servo,GreenRecycleBin/servo,WriterOfAlicrow/servo,pgonda/servo,akosel/servo,A-deLuna/servo,SimonSapin/servo,upsuper/servo,ConnorGBrewster/servo,g-k/servo,saratang/servo,indykish/servo,larsbergstrom/servo,mbrubeck/servo,s142857/servo,wartman4404/servo,tschneidereit/servo,wpgallih/servo,saneyuki/servo,rixrix/servo,brson/servo,saratang/servo,AnthonyBroadCrawford/servo,samfoo/servo,juzer10/servo,mbrubeck/servo,eddyb/servo,szeged/servo,A-deLuna/servo,saneyuki/servo,mattnenterprise/servo,snf/servo,snf/servo,GreenRecycleBin/servo,anthgur/servo,zhangjunlei26/servo,nerith/servo,s142857/servo,Adenilson/prototype-viewing-distance,emilio/servo,bfrohs/servo,bhearsum-bors/servo,aidanhs/servo,dvberkel/servo,vks/servo,g-k/servo,akosel/servo,brson/servo,splav/servo,notriddle/servo,brson/servo,nrc/servo,thiagopnts/servo,seanmonstar/servo,samfoo/servo,meh/servo,srbhklkrn/SERVOENGINE,metajack/servo,dagnir/servo,Adenilson/prototype-viewing-distance,canaltinova/servo,Aalhad/CanvasRenderingContext2DMozilla,kindersung/servo,bjwbell/servo,dati91/servo,karlito40/servo,steveklabnik/servo,srbhklkrn/SERVOENGINE,dmarcos/servo,saneyuki/servo,ConnorGBrewster/servo,tschneidereit/servo,thiagopnts/servo,pcwalton/servo,evilpie/servo,tschneidereit/servo,mukilan/servo,tempbottle/servo,youprofit/servo,pgonda/servo,rixrix/servo,avadacatavra/servo,wartman4404/servo,meh/servo,szeged/servo,saratang/servo,vks/servo,metajack/servo,pcwalton/servo,brendandahl/servo,tempbottle/servo,splav/servo,shrenikgala/servo,szeged/servo,caldwell/servo,eddyb/servo,shrenikgala/servo,GyrosOfWar/servo,steveklabnik/servo,mbrubeck/servo,chotchki/servo,cbrewster/servo,sadmansk/servo,mukilan/servo,seanmonstar/servo,bfrohs/servo,nnethercote/servo,pyfisch/servo,samfoo/servo,peterjoel/servo,nrc/servo,paulrouget/servo,jgraham/servo,GyrosOfWar/servo,michaelwu/servo,huonw/servo,chotchki/servo,CJ8664/servo,mdibaiee/servo,paulrouget/servo,splav/servo,pgonda/servo,karlito40/servo,brson/servo,zentner-kyle/servo,dsandeephegde/servo,brendandahl/servo,wartman4404/servo,kindersung/servo,larsbergstrom/servo,snf/servo,shrenikgala/servo,ConnorGBrewster/servo,larsbergstrom/servo,huonw/servo,WriterOfAlicrow/servo,pyecs/servo,nnethercote/servo,eddyb/servo,bhearsum-bors/servo,walac/servo,metajack/servo,dmarcos/servo,jimberlage/servo,A-deLuna/servo,s142857/servo,pcwalton/servo,AnthonyBroadCrawford/servo,walac/servo,aweinstock314/servo,zhangjunlei26/servo,fiji-flo/servo,mrobinson/servo,metajack/servo,luniv/servo,boghison/servo,akosel/servo,nick-thompson/servo,ryancanhelpyou/servo,emilio/servo,karlito40/servo,evilpie/servo,saneyuki/servo,eddyb/servo,larsbergstrom/servo,meh/servo,wpgallih/servo,CJ8664/servo,WriterOfAlicrow/servo,mt2d2/servo,dhananjay92/servo,ryancanhelpyou/servo,wpgallih/servo,RenaudParis/servo,ryancanhelpyou/servo,metajack/servo,codemac/servo,jgraham/servo,seanmonstar/servo,AnthonyBroadCrawford/servo,AnthonyBroadCrawford/servo,akosel/servo,nick-thompson/servo,DominoTree/servo,RenaudParis/servo,aidanhs/servo,steveklabnik/servo,akosel/servo,bfrohs/servo,zentner-kyle/servo,deokjinkim/servo,froydnj/servo,s142857/servo,mukilan/servo,notriddle/servo,steveklabnik/servo,Aalhad/CanvasRenderingContext2DMozilla,nrc/servo,fiji-flo/servo,dhananjay92/servo,canaltinova/servo,rentongzhang/servo,ConnorGBrewster/servo,canaltinova/servo,echochamber/servo,peterjoel/servo,saratang/servo,dati91/servo,aweinstock314/servo,wartman4404/servo,avadacatavra/servo,Aalhad/CanvasRenderingContext2DMozilla,bjwbell/servo,paulrouget/servo,boghison/servo,caldwell/servo,g-k/servo,WriterOfAlicrow/servo,j3parker/servo,WriterOfAlicrow/servo,echochamber/servo,peterjoel/servo,szeged/servo,brendandahl/servo,dvberkel/servo,walac/servo,sadmansk/servo,saneyuki/servo,deokjinkim/servo,DominoTree/servo,fiji-flo/servo,aweinstock314/servo,emilio/servo,ryancanhelpyou/servo,saratang/servo,rnestler/servo,bhearsum-bors/servo,deokjinkim/servo,j3parker/servo,metajack/servo,boghison/servo,saneyuki/servo,indykish/servo,jdramani/servo,SimonSapin/servo,evilpie/servo,evilpie/servo,runarberg/servo,jimberlage/servo,upsuper/servo,bfrohs/servo,nerith/servo,RenaudParis/servo,thiagopnts/servo,tafia/servo,eddyb/servo,zentner-kyle/servo,larsbergstrom/servo,samfoo/servo,jimberlage/servo,avadacatavra/servo,emilio/servo,fiji-flo/servo,cbrewster/servo,upsuper/servo,froydnj/servo,mattnenterprise/servo,DominoTree/servo,Adenilson/prototype-viewing-distance,dati91/servo,dmarcos/servo,cbrewster/servo,wpgallih/servo,notriddle/servo,owaspjocur/servo,sadmansk/servo,akosel/servo,A-deLuna/servo,meh/servo,mbrubeck/servo,owaspjocur/servo,walac/servo,Adenilson/prototype-viewing-distance,karlito40/servo,rnestler/servo,tafia/servo,GreenRecycleBin/servo,larsbergstrom/servo,eddyb/servo,pgonda/servo,anthgur/servo,Shraddha512/servo,Aalhad/CanvasRenderingContext2DMozilla,dati91/servo,caldwell/servo,Adenilson/prototype-viewing-distance,dsandeephegde/servo,rentongzhang/servo,DominoTree/servo,tempbottle/servo,zhangjunlei26/servo,shrenikgala/servo,szeged/servo,nnethercote/servo,emilio/servo,thiagopnts/servo,g-k/servo,mdibaiee/servo,zhangjunlei26/servo,nnethercote/servo,juzer10/servo,mrobinson/servo,nnethercote/servo,nerith/servo,rixrix/servo,shrenikgala/servo,dsandeephegde/servo,nick-thompson/servo,KiChjang/servo,mt2d2/servo,dvberkel/servo,dhananjay92/servo,tschneidereit/servo,owaspjocur/servo,s142857/servo,paulrouget/servo,nrc/servo,tafia/servo,jgraham/servo,nrc/servo,saratang/servo,paulrouget/servo,wartman4404/servo,thiagopnts/servo,runarberg/servo,jgraham/servo,CJ8664/servo,DominoTree/servo,brson/servo,zentner-kyle/servo,ryancanhelpyou/servo,bjwbell/servo,zhangjunlei26/servo,snf/servo,nrc/servo,aweinstock314/servo,brendandahl/servo,SimonSapin/servo,luniv/servo,anthgur/servo,tafia/servo,chotchki/servo,runarberg/servo,rnestler/servo,luniv/servo,avadacatavra/servo,rixrix/servo,ConnorGBrewster/servo,emilio/servo,brendandahl/servo,mbrubeck/servo,ruud-v-a/servo,KiChjang/servo,dagnir/servo,saneyuki/servo,codemac/servo,upsuper/servo,mbrubeck/servo,splav/servo,ruud-v-a/servo,GreenRecycleBin/servo,pyfisch/servo,jimberlage/servo,pyecs/servo,vks/servo,thiagopnts/servo,youprofit/servo,kindersung/servo,DominoTree/servo,mbrubeck/servo,paulrouget/servo,nrc/servo,canaltinova/servo,walac/servo,seanmonstar/servo,evilpie/servo,KiChjang/servo,steveklabnik/servo,notriddle/servo,pyecs/servo,rnestler/servo,GreenRecycleBin/servo,echochamber/servo,jlegendary/servo,dhananjay92/servo,nnethercote/servo,kindersung/servo,dsandeephegde/servo,canaltinova/servo,codemac/servo,rnestler/servo,pcwalton/servo,cbrewster/servo,dagnir/servo,nerith/servo,fiji-flo/servo,GyrosOfWar/servo,michaelwu/servo,CJ8664/servo,mrobinson/servo,ryancanhelpyou/servo,pyfisch/servo,aidanhs/servo,AnthonyBroadCrawford/servo,walac/servo,aidanhs/servo,zentner-kyle/servo,anthgur/servo,hyowon/servo,ruud-v-a/servo,Shraddha512/servo,owaspjocur/servo,jimberlage/servo,emilio/servo,mdibaiee/servo,j3parker/servo,mattnenterprise/servo,RenaudParis/servo,luniv/servo,echochamber/servo,nnethercote/servo,rentongzhang/servo,KiChjang/servo,tempbottle/servo,Aalhad/CanvasRenderingContext2DMozilla,thiagopnts/servo,notriddle/servo,notriddle/servo,owaspjocur/servo,wpgallih/servo,aweinstock314/servo,GyrosOfWar/servo,pyfisch/servo,peterjoel/servo,g-k/servo,KiChjang/servo