Finished populating 'ixquery' with debug statements. 'debug' function
should be finalized, going to run a couple test index queries and look
at the debug log to make sure things are being formatted properly.