Have you disabled all products and plugins except vbgallery and tried? I am sitting here with a default
vb and vbgallery 2.5 and can not product that issue.
None of the queries your noting also have anything to do with vbgallery which is the stumper.