Tighten the centre bolt in the Ahead top cap to preload the headset bearings, it doesnt need to be mega tight as that will cause premature wear to the bearings.
Once thats adjusted alternate between tightening up each of the side bolts on the stem ,again they dont need to be ba5tard tight as you will ovalise the steerer and potentially risk snapping the bolts.
Regards the clicking it could be the headsets too loose/too tight, Dirt or a crack somewhere flexing.
I’d start by dismantling the front end and giving all the headest parts a good clean/regrease and reassemble then carry on from there.