import fixes and ANSI constants.
Merge pull request #39 from eprogramming/master

import fixes and ANSI constants.