fixed a bunch of warnings/errors (sadly had to remove comments). Seems like it’s close to building