Replaced Vector class and Color class with QSize and QColor respectively; fixed incorrect graphics generation