fixed up the MC code, changed some of the data structures

still needs to finish the MC allocation. it can deal with excess projects now though