Adding in a query preview for seeing query before actually running it.

I've added in some documentation for some other methods too while I was in there.