Fixed all the header problems, now it compiles!