Converted most rectangles to entities serverside, other things