now it will not crash when you have a computer with several monitor
splitted main.cpp in much smaller functions
style only commit