The location of the muscles that twitch might have been helpful.
You might want to visit a neurologist to determine whether the symptoms are due to epilepsy or something else is the cause.
The dizziness and the muscle twitching (neck or head muscles, including eyelids’ muscles) might be due to cervical spondylosis. Long period in front of monitor or at least holding the neck in same position might have caused spondylosis.