The secret to a long, clean burn is actually quite simple: always trim your wick to about 5mm before every single light. This keeps the flame steady and stops it from dancing or smoking.
Also, try to let the wax pool all the way to the edges of the jar on your first burn ( 3-4 hours)—it prevents "tunnelling" and ensures you get the most out of every drop of wax. Treat it like a little ritual, and it will reward you with hours of beautiful fragrance.