modified entity draw routine to output error message to console