Cossons fixes to sprite class and other fixes to it...