Fixed up some bugs.
Added features for the stringpot. Some modifications required for better performance.