Initial copy from http://code.google.com/p/pyredminews/