! db extension error check used wrong var db should be database
! remove a few more inline styles

Signed-off-by: Spuds <spuds@spudsdesign.com>
Merge pull request #1636 from Spuds/fii

Remove some more inline styles