Added code to really download the file
Fixed drawing errors
Fixed printing of escape characters