Added get/print_last, for returning the last query (and error).