Finished the cursor class so that the map editor works.