Fixed md5 calculation
Made sure that get_console returns string in all Python versions
Fixes around byte string conversions, etc.