i do have root access!
i checked my.cnf and there is no innodb_lock_wait_timeout. i did find that restarting the mysql server allowed me to save the template, but the errors started again.
then i reduced the number of styles down to a total of 4 (from a total of 8) and that did stop the problem...