Fixed the majority of compile errors, some still persist in ICARUS mostly