Simple fixes

added \n to some print statements
send error message to /dev/null (has no meaning)