Bugs corrected.