Hi!
first, search in includes/constants.php:
// define("PRINT_STATS", 1);
// define("PRINT_QUERIES", 1);
and replace:
define("PRINT_STATS", 1);
define("PRINT_QUERIES", 1);
now you can see under your homepage, below the footer, how many SQL querys and what for querys.
the next question is, what modifications they have built in your galerie?´
and in ACP you can set the session timeout higher (ACP/General/Settings/Session and User Settings/Session timeout in minutes).
mfg Andi