Lines and gaps between print layers

Did you calibrate your extruder and linear advance?