Fixed a lot of compilation errors

- Aligned Allocator would not compile
- Loader errors
- Semi-fxed error with macros in Error (needs testing)