What are the little pieces of wood that come with pre-made canvas for?
These are called "canvas keys".

The are shimmed into the corners of the canvas to maintain the tautness of the canvas.  This generally happens only on machine-assembled frames, or on mass-produced frames that have low-quality inspection standards (for cost).