A crap load of bugs fixed.