added some features for stereo and added the head control into this program instead of a seperate one