Enhanced to handle esacpe sequence.
Updated the version number to 1.0.0dev4.