The spikes on the triangle-wave might be caused by building the circuit on a breadboard. A breadboard has many long rows of contacts and many long connecting wires that have high capacitance and high crosstalk between them. Also the lousy old LM324 opamp has trouble above 2kHz with a sinewave or above 200Hz with a triangle wave and its overshoot can cause spikes.