For those of you having the colspan template issue where multiple boxes are added onto the end of the row, here's my dirty fix.
browse to plugins & products -> plugin manager -> EDIT Forumhome: Gallery Main
find on line 213
PHP Code:
$gal_imagebits .= construct_empty_cellbits($vba_options['gallery_columns']);
replace with
PHP Code:
$gal_imagebits .= construct_empty_cellbits(1);
I did try replacing with the new variable $vboptions['vbglimit'] which works but gives a division by 0 error. A conditional to make sure the number wasn't 0 might be the proper fix but I'm short on time so leaving that for the hack author!