whole bunch of bug fixes. Things actually compile now instead of tripping on a compiler bug.