New features and fixed defects.


Additions:

Fixed defects