Major bugs fixed.
Major bugs fixed.