You have the two most important tools right there. WD40 and duct tape.
If it doesn't move and it should, use WD40
If it moves and it shouldn't use duct tape.
For storage, I remember my dad used to have a bunch of jars with the lids screwed to the underside of a shelf. The jars were then screwed into the lids.
A great space saving idea.