Sba prod crit

Some smaller updates/fixes/improvements in sba code.
All experimental stuff is disabled by default.
Starting point for generalizing sba to work over Z. (adi,gerhard,christian)