Added some functionality to various classes (Polygon2D, Sprite, etc) and added more Component subtypes.