Added error messages for bad commands.