use arrays instead of vectors for the screeninfos and rendercontrols.