Enable swapinterval setting and disable MSAA.
Attempt at making sane main function
Better define naming scheme