Merge pull request #39 from eprogramming/master

import fixes and ANSI constants.