finished splitting cursor code up into cursor and shape class. game works again.