I think, If you sit to long and not move much, you will get muscle spasms at certain parts of the body most probably due to pressure onto the area. Do some flexible exercises for 2mins after 40mins of sitting down. Hope that helps. Drink plenty of water too, helps prevent certain types of headaches.