Reorganize code in main.cc
Reorganize code in main.cc

danr/kakoune,Somasis/kakoune,ekie/kakoune,lenormf/kakoune,occivink/kakoune,casimir/kakoune,Somasis/kakoune,jjthrash/kakoune,Somasis/kakoune,lenormf/kakoune,ekie/kakoune,alexherbo2/kakoune,casimir/kakoune,mawww/kakoune,casimir/kakoune,danr/kakoune,jkonecny12/kakoune,danr/kakoune,mawww/kakoune,jjthrash/kakoune,alexherbo2/kakoune,jjthrash/kakoune,occivink/kakoune,jjthrash/kakoune,alexherbo2/kakoune,jkonecny12/kakoune,alexherbo2/kakoune,lenormf/kakoune,casimir/kakoune,lenormf/kakoune,jkonecny12/kakoune,occivink/kakoune,jkonecny12/kakoune,mawww/kakoune,danr/kakoune,ekie/kakoune,ekie/kakoune,occivink/kakoune,Somasis/kakoune,mawww/kakoune