Fixed some of the reported bugs.

More will come when I receive the bug specification.
Fixed few bugs in export script.
Added test for altered export script.
Changelog updated for version 1.4.6.