Static components updated to work with recent Bricks changes

-sqlite db pool wasn't being tested properly - added thread lock
 to fix issue