fixes some bugs, adds the mouse icon updation
handles now the cost of buildings and units, as well as population management