Fixed broken TraceBox function (valve why do rays have a start offset)
Various other changes