The pulsating feeling on top of the scalp is probably irritated small nerve branch causing so-called paresthesias.
It it's deeper than the surface, pulsating feeling is often related to migraines, even if there is no frank headache.
Having said that, some people can experience pulsating sensation when there is an abnormal blood vessel in the brain (ex. AVM).
The leg problem was probably myoclonus, or a muscle twitch; this can occur due to electrolyte disturbance, muscle strain, fatigue, etc.
Rarely, though, simple partial seizures can cause a leg twitch that cannot be stopped.
Certain brain abnormalities (like an AVM) can cause these spells and sometimes no apparent cause is found.
Allt this is probably due to mild undiagnosed anxiety
(abnormal neurotrasmitter release) and will resolve on its own.
If the leg twitch keeps recurring, though, and the pulsating feeling continues I would make sure you talk to a neurologist in person and get examined.
Hope this helps.